package com.zwz.mapper;

import com.zwz.entity.JudgmentDocument;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface JudgmentDocumentMapper {
    int insert(JudgmentDocument entity);
//    int update(JudgmentDocument entity);
//    int deleteById(Integer id);
//    JudgmentDocument selectById(Integer id);
    List<JudgmentDocument> selectByPublishRange(@Param("start") Date start,
                                                @Param("end") Date end);
}